#!/bin/bash

#first, input validity tests

java -cp ../bin/ interpreter.Interpreter testScript1.mawk -f testInput1.data  &>/dev/null \
&& echo Success! || echo Failure.

java -cp ../bin/ interpreter.Interpreter -ast -nfa -dfa testScript1.mawk -f testInput1.data \
&>/dev/null && echo Success! || echo Failure.

java -cp ../bin/ interpreter.Interpreter -ast -nfa -dfa -lzq testScript1.mawk -f testInput1.data \
&>/dev/null && echo Success! || echo Failure.

java -cp ../bin/ interpreter.Interpreter -ast -nfa -dfa testScript1.mawk "testInput1.dataa\
randfsdfgsd wedfg swfw        " &>/dev/null && echo Success! || echo Failure.
